package edu.whu.puppygo.entity;

import edu.whu.puppygo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

/**
 * @author guanruwang
 * @date 2023/11/14$
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
public class Fragment extends BaseEntity {

    @ApiModelProperty(value = "智能问答中的提问")
    private String question;

    @ApiModelProperty(value = "智能问答中的回答")
    private String answer;

    @ApiModelProperty(value = "图片URL")
    private String imgUrl;

    @ApiModelProperty(value = "所属会话")
    private Long conversationId;

    @ApiModelProperty(value = "状态")
    private FragmentStatueEnum statue;

    @ApiModelProperty(value = "图片识别结果")
    private String imgResult;
    @ApiModelProperty(value = "知识库查询结果")
    private String knowledgeResult;
}
